#include "ukui-memmonitor-plugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include "memmonitor.h"

void UkuiMemmonitorPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(QString(uri) == QLatin1String("org.ukui.memmonitor"));
    qmlRegisterModule(uri, 1, 0);
    qmlRegisterType<Memmonitor>(uri, 1, 0, "Memmonitor");
    Q_INIT_RESOURCE(res);
}